Give\Subscriptions\Repositories\SubscriptionRepository S

Total Complexity 44
Dependencies 16
Dependents 1
Total lines 570
Lines of code 306
Logical lines of code 119
Comment lines 146
Methods 21
Properties 2

Methods 21

Method Rating Maintainability Complexity Lines of code
insert()
A
44 7 42
update()
S
47 4 35
updateLegacyColumns()
S
55 4 19
unTrash()
S
54 3 20
createRenewal()
S
48 2 33
validateSubscription()
S
64 4 10
trash()
S
54 2 21
delete()
S
56 2 19
getInitialDonationId()
S
57 2 18
getNotesBySubscriptionId()
S
58 2 16
prepareQuery()
S
51 1 28
updateLegacyParentPaymentId()
S
64 2 9
__construct()
S
80 1 3
getById()
S
80 1 3
getByGatewaySubscriptionId()
S
80 1 3
queryById()
S
76 1 4
queryByGatewaySubscriptionId()
S
76 1 4
queryByDonationId()
S
76 1 4
queryByDonorId()
S
76 1 4
queryByCampaignId()
S
76 1 4
updatePaymentMode()
S
69 1 7